You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLProgram Class > TOpenCLProgram Methods > LoadProgram Method > TOpenCLProgram.LoadProgram Method ([In] string, [In] TStrings, [In] string, [In] string, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLProgram.LoadProgram Method ([In] string, [In] TStrings, [In] string, [In] string, bool)

Loads programs stored in the SourceCode, adds SourceHeader, sets BuildOptions and compiles.

Syntax
C#
Visual Basic
public void LoadProgram([In] string aBinFileName, [In] TStrings SourceCode, [In] string SourceHeader, [In] string BuildOptions, bool RebuildAlways);

If the program to be build is already found, the binary version is loaded directly saving valuable startup time for future runs. aBinFileName identifies the name of the binary file in which the compiler will save the result. Set RebuildAlways to True to request unconditial recompile. All Kernels in the Open CL source code are automatically added to the TOpenCLDevice.Kernels list.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!